﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;

namespace HappyTravellingService.Utils
{
    public class JsonFactory
    {
        private static JavaScriptSerializer jss;

        public static JavaScriptSerializer getJsonSerializer()
        {
            if (jss == null)
            {
                jss = new JavaScriptSerializer();
            }
            return jss;
        }
    }
}